﻿@model LastoRevival.Service.Contracts.Models.VerifyUserModel
		   
<div id="verify-code-container">

	@if ((bool?)ViewBag.EmailSent == true)
	{	
		<p class="field-validation-error">@LanguageLoader.GetWord("EmailWithVerificationCodeSent")</p>
	}

	@using (Html.BeginForm("Verify", "User", FormMethod.Post))
	{
		@Html.HiddenFor(m => m.Username)
		<p>@LanguageLoader.GetWord("VerificationInstructions")</p>
		<p>@Html.ActionLink(LanguageLoader.GetWord("ResendVerificationLink"), "SendVerification", "User") </p>
		<span class="form-field" id="verificationCode">
			<label for="Code">@LanguageLoader.GetWord("Code")</label>
			@Html.TextBoxFor(m => m.Code)
			@Html.ValidationMessageFor(m => m.Code)
		</span>
	 
		
		<span class="button-container">
			<input type="submit" value="@LanguageLoader.GetWord("Submit")" onclick="" />
		</span>
	}
</div>
